﻿export default [
  {
    layout: false,
    name: 'login',
    hideInMenu: true,
    path: '/login',
    component: './Login',
  },
  {
    path: '/',
    redirect: '/dashboard',
  },
  {
    path: '/dashboard',
    name: '统计面板',
    icon: 'PieChartOutlined',
    component: '@/pages/Dashboard',
  },
  {
    name: '用户管理',
    path: '/users',
    icon: 'UserOutlined',
    component: '@/pages/Users',
  },
  {
    name: '商品管理',
    path: '/goods',
    icon: 'ShoppingOutlined',
    component: '@/pages/Goods',
  },
  {
    name: '订单管理',
    path: 'orders',
    icon: 'AccountBookOutlined',
    component: '@/pages/Orders',
  },
  {
    component: './404',
  },
];
